package xu.ye.uitl;

public class SpecialCharactersChecking {
	public static boolean isChinese(char str) {
		if((str >= '\u4e00' && str <= '\u9fa5')
				||(str >= '\uf900' && str <='\ufa2d'))
				return true;
				return false;
	}

	public static boolean isletter(char str) {
		char c = str;
		if (((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z'))) {
			return true;
		} else {
			return false;
		}
	}
}
